package com.xunce.xcworkservice.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
    * 岗位表
    */
@Schema(description="岗位表")
@Data
@TableName(value = "station_title")
public class StationTitle {
    /**
     * 主键ID，唯一标识
     */
    @TableId(value = "station_title_id", type = IdType.AUTO)
    @Schema(description="主键ID，唯一标识")
    private Integer stationTitleId;

    /**
     * 岗位名称
     */
    @TableField(value = "`name`")
    @Schema(description="岗位名称")
    private String name;
}